#include <stdio.h>
#include <stdlib.h>

int main()
{
    char * tmpname = tmpnam(NULL);

    printf("%s\n",tmpname);

    char * tmp="ABCXXXXXX";
    char * tmpname1 = mktemp(tmp);

    printf("%s\n",tmpname1);


    return 0;
}
